package com.stylefeng.guns.modular.system.service.impl;

import java.util.List;
import java.util.Map;

import com.stylefeng.guns.modular.system.model.CurFengkou;
import com.stylefeng.guns.modular.system.dao.CurFengkouMapper;
import com.stylefeng.guns.modular.system.service.ICurFengkouService;
import com.baomidou.mybatisplus.plugins.Page;
import com.baomidou.mybatisplus.service.impl.ServiceImpl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author stylefeng123
 * @since 2018-07-17
 */
@Service
public class CurFengkouServiceImpl extends ServiceImpl<CurFengkouMapper, CurFengkou> implements ICurFengkouService {

	@Autowired
	private CurFengkouMapper curFengkouMapper;
	
	@Override
	public List<Map<String, Object>> selectMapsByDm(Page<CurFengkou> page,
			String date) {
		return curFengkouMapper.selectMapsByDm(page,date);
	}

	@Override
	public List<Map<String, Object>> selectByCurrentDayFengk(String date) {
		return curFengkouMapper.selectByCurrentDayFengk(date);
	}

}
